package de.clapp.musicbox;

import java.util.Comparator;

import de.clapp.data.MusicItem;

public class MusicByReleaseComparator implements Comparator<MusicItem>
{

    @Override
    public int compare(MusicItem item1, MusicItem item2)
    {
        return item1.getYear().compareTo(item2.getYear());
    }

}
